3.24 \(\int \frac {(A+B x^2) (b x^2+c x^4)^2}{x^{12}} \, dx\)

Optimal. Leaf size=53 \[ -\frac {A b^2}{7 x^7}-\frac {b (2 A c+b B)}{5 x^5}-\frac {c (A c+2 b B)}{3 x^3}-\frac {B c^2}{x} \]

[Out]

-1/7*A*b^2/x^7-1/5*b*(2*A*c+B*b)/x^5-1/3*c*(A*c+2*B*b)/x^3-B*c^2/x

________________________________________________________________________________________

Rubi [A]  time = 0.04, antiderivative size = 53, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.083, Rules used = {1584, 448} \[ -\frac {A b^2}{7 x^7}-\frac {b (2 A c+b B)}{5 x^5}-\frac {c (A c+2 b B)}{3 x^3}-\frac {B c^2}{x} \]

Antiderivative was successfully verified.

[In]

Int[((A + B*x^2)*(b*x^2 + c*x^4)^2)/x^12,x]

[Out]

-(A*b^2)/(7*x^7) - (b*(b*B + 2*A*c))/(5*x^5) - (c*(2*b*B + A*c))/(3*x^3) - (B*c^2)/x

Rule 448

Int[((e_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_.)*((c_) + (d_.)*(x_)^(n_))^(q_.), x_Symbol] :> Int[ExpandI
ntegrand[(e*x)^m*(a + b*x^n)^p*(c + d*x^n)^q, x], x] /; FreeQ[{a, b, c, d, e, m, n}, x] && NeQ[b*c - a*d, 0] &
& IGtQ[p, 0] && IGtQ[q, 0]

Rule 1584

Int[(u_.)*(x_)^(m_.)*((a_.)*(x_)^(p_.) + (b_.)*(x_)^(q_.))^(n_.), x_Symbol] :> Int[u*x^(m + n*p)*(a + b*x^(q -
 p))^n, x] /; FreeQ[{a, b, m, p, q}, x] && IntegerQ[n] && PosQ[q - p]

Rubi steps

\begin {align*} \int \frac {\left (A+B x^2\right ) \left (b x^2+c x^4\right )^2}{x^{12}} \, dx &=\int \frac {\left (A+B x^2\right ) \left (b+c x^2\right )^2}{x^8} \, dx\\ &=\int \left (\frac {A b^2}{x^8}+\frac {b (b B+2 A c)}{x^6}+\frac {c (2 b B+A c)}{x^4}+\frac {B c^2}{x^2}\right ) \, dx\\ &=-\frac {A b^2}{7 x^7}-\frac {b (b B+2 A c)}{5 x^5}-\frac {c (2 b B+A c)}{3 x^3}-\frac {B c^2}{x}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.02, size = 59, normalized size = 1.11 \[ \frac {b^2 (-B)-2 A b c}{5 x^5}-\frac {A b^2}{7 x^7}+\frac {-A c^2-2 b B c}{3 x^3}-\frac {B c^2}{x} \]

Antiderivative was successfully verified.

[In]

Integrate[((A + B*x^2)*(b*x^2 + c*x^4)^2)/x^12,x]

[Out]

-1/7*(A*b^2)/x^7 + (-(b^2*B) - 2*A*b*c)/(5*x^5) + (-2*b*B*c - A*c^2)/(3*x^3) - (B*c^2)/x

________________________________________________________________________________________

fricas [A]  time = 1.24, size = 53, normalized size = 1.00 \[ -\frac {105 \, B c^{2} x^{6} + 35 \, {\left (2 \, B b c + A c^{2}\right )} x^{4} + 15 \, A b^{2} + 21 \, {\left (B b^{2} + 2 \, A b c\right )} x^{2}}{105 \, x^{7}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((B*x^2+A)*(c*x^4+b*x^2)^2/x^12,x, algorithm="fricas")

[Out]

-1/105*(105*B*c^2*x^6 + 35*(2*B*b*c + A*c^2)*x^4 + 15*A*b^2 + 21*(B*b^2 + 2*A*b*c)*x^2)/x^7

________________________________________________________________________________________

giac [A]  time = 0.15, size = 55, normalized size = 1.04 \[ -\frac {105 \, B c^{2} x^{6} + 70 \, B b c x^{4} + 35 \, A c^{2} x^{4} + 21 \, B b^{2} x^{2} + 42 \, A b c x^{2} + 15 \, A b^{2}}{105 \, x^{7}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((B*x^2+A)*(c*x^4+b*x^2)^2/x^12,x, algorithm="giac")

[Out]

-1/105*(105*B*c^2*x^6 + 70*B*b*c*x^4 + 35*A*c^2*x^4 + 21*B*b^2*x^2 + 42*A*b*c*x^2 + 15*A*b^2)/x^7

________________________________________________________________________________________

maple [A]  time = 0.05, size = 48, normalized size = 0.91 \[ -\frac {B \,c^{2}}{x}-\frac {\left (A c +2 b B \right ) c}{3 x^{3}}-\frac {A \,b^{2}}{7 x^{7}}-\frac {\left (2 A c +b B \right ) b}{5 x^{5}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((B*x^2+A)*(c*x^4+b*x^2)^2/x^12,x)

[Out]

-1/7*A*b^2/x^7-1/5*b*(2*A*c+B*b)/x^5-1/3*c*(A*c+2*B*b)/x^3-B*c^2/x

________________________________________________________________________________________

maxima [A]  time = 1.37, size = 53, normalized size = 1.00 \[ -\frac {105 \, B c^{2} x^{6} + 35 \, {\left (2 \, B b c + A c^{2}\right )} x^{4} + 15 \, A b^{2} + 21 \, {\left (B b^{2} + 2 \, A b c\right )} x^{2}}{105 \, x^{7}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((B*x^2+A)*(c*x^4+b*x^2)^2/x^12,x, algorithm="maxima")

[Out]

-1/105*(105*B*c^2*x^6 + 35*(2*B*b*c + A*c^2)*x^4 + 15*A*b^2 + 21*(B*b^2 + 2*A*b*c)*x^2)/x^7

________________________________________________________________________________________

mupad [B]  time = 0.04, size = 52, normalized size = 0.98 \[ -\frac {x^2\,\left (\frac {B\,b^2}{5}+\frac {2\,A\,c\,b}{5}\right )+x^4\,\left (\frac {A\,c^2}{3}+\frac {2\,B\,b\,c}{3}\right )+\frac {A\,b^2}{7}+B\,c^2\,x^6}{x^7} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(((A + B*x^2)*(b*x^2 + c*x^4)^2)/x^12,x)

[Out]

-(x^2*((B*b^2)/5 + (2*A*b*c)/5) + x^4*((A*c^2)/3 + (2*B*b*c)/3) + (A*b^2)/7 + B*c^2*x^6)/x^7

________________________________________________________________________________________

sympy [A]  time = 1.07, size = 58, normalized size = 1.09 \[ \frac {- 15 A b^{2} - 105 B c^{2} x^{6} + x^{4} \left (- 35 A c^{2} - 70 B b c\right ) + x^{2} \left (- 42 A b c - 21 B b^{2}\right )}{105 x^{7}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((B*x**2+A)*(c*x**4+b*x**2)**2/x**12,x)

[Out]

(-15*A*b**2 - 105*B*c**2*x**6 + x**4*(-35*A*c**2 - 70*B*b*c) + x**2*(-42*A*b*c - 21*B*b**2))/(105*x**7)

________________________________________________________________________________________